package TitleScreen;

import javax.swing.JOptionPane;

/**
 * Contains all methods and variables
 * 
 * @author Thomas Felder
 */

public class startModel {


	public startModel() {
	}

	public void register(String username, String password) {
	
	}

	public void login(String username, String password) {

		boolean isRegistered= validateUser(username,password);
		if(isRegistered){
			
		}
		else{
			JOptionPane.showMessageDialog(null, "Wrong input", "User authentification failed", 2);
		}
	
	}

	public boolean validateUser(String name, String password) {
		boolean validate = false;

		return validate;

	}

}
